.loop {
  margin: 0 auto;
  width: 560px;
  height: 305px;
  border: 1px solid black;
  position: relative;
  .img-box {
    height: 100%;
    a {
      display: block;
      height: 100%;
      overflow: hidden;
      // 图片
      .img {
        display: block;
        width: 100%;
      }
    }
  }

  // 标题
  .title {
    position: absolute;
    left: 10px;
    bottom: 10px;
    color: #ffffff;
    font-weight: 700;
  }
  // 导航
  .nav {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    z-index: 1;
    align-items: center;
    li {
      width: 8px;
      height: 8px;
      background-color: #93969b;
      margin-left: 5px;
      border-radius: 50%;
      &.active {
        background-color: #2673c1;
        width: 12px;
        height: 12px;
      }
    }
  }
}
